<?php




require ROOT_PATH.'/Helper/front_base_abstract.php';


abstract class front_abstract extends front_base_abstract
{
    private static $action_list = array(
        'My Download' => 'my_download',
        'Default Home Page' => 'home_page',
        'Rate Assets' => 'rate_assets',
        'My Saved Queues' => 'my_saved_queues',
        'Edit My Information' => 'my_account',
        'Change Password' => 'change_password'
    );
    
    function __construct($controller)
    {
        parent::__construct($controller);
        if (empty($_SESSION['user'])) {
            $this->redirect('login.html');
        }
        $this->https_redirect();
        $this->info = $_SESSION['user'];
        $this->view->assign('action_list', self::$action_list);
    }
}
?>